package WORKPLACE;


import javax.swing.JFrame;
import javax.swing.WindowConstants;

import TOOLS.SQLtool;
import TOOLS.messageTool;

public class myWorkPlaceUpdater {
	static messageTool mt=new messageTool();
	public static void main(String[] args) {
		SQLtool sql=new SQLtool();
		sql.config("192.168.1.97","XHAKS2021", "ma", "123456");
		
		try {
			JFrame j=new JFrame();
			j.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
			j.setVisible(true);
			j.setLocation(-800, 0);
			sql.connect();
			c_autoUpdateTool cp=new c_autoUpdateTool(sql);
//			cp.checkUpdate();
			cp.newVersion();
			System.exit(0);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}

